#version 310 es
precision highp float;

layout(location = 0) uniform highp sampler2D tex_input;
layout(location = 1) uniform highp usampler2D utex_input;

layout(location = 20) uniform mediump ivec2 offset;

layout(location = 0) out highp vec4 FragColor;
layout(location = 1) out highp uvec4 uFragColor;

void main()
{
    FragColor = texelFetchOffset(tex_input,ivec2(gl_FragCoord.xy),0,offset);
    uFragColor = texelFetchOffset(utex_input,ivec2(gl_FragCoord.xy),0,offset);
}
